<div class="spinner">
<div class="loader l1"></div>
<div class="loader l2"></div>
</div>
<style>
/* From Uiverse.io by gagan-gv - Tags: loader */
.spinner {
 border: 0 solid transparent;
 border-radius: 50%;
 width: 50px;
 height: 50px;
}

.loader {
 width: inherit;
 height: inherit;
 position: absolute;
}

.loader::before,
.loader::after {
 content: '';
 border: 3px solid #505065;
 border-radius: 50%;
 width: inherit;
 height: inherit;
 position: absolute;
 opacity: 1;
}

.l1::before,
.l1::after {
 animation: clockwiseZ 2.5s infinite;
}

.l2::after,
.l2::before {
 animation: anticlockwiseZ 2.5s infinite;
}

@keyframes clockwiseZ {
 0%, 100% {
  transform: rotateY(0);
 }

 50% {
  transform: rotateY(180deg) skew(-10deg, -5deg);
 }
}

@keyframes anticlockwiseZ {
 0%, 100% {
  transform: rotateX(0);
 }

 50% {
  transform: rotateX(-180deg) skew(10deg, 5deg);
 }
}
</style>
